package com.kt.sso.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;
import java.util.Date;

@Data
public class KtUser /*extends User */{
    private String id;

    private String userName;

    private Integer age;

    private Boolean gender;

    private String password;

    private Date birthDate;

    private String phone;

    private String address;

    private String email;

    private String qq;

    private String weixin;

    private Date createdDate;

   /* public KtUser(String username, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
    }

    public KtUser(String username, String password, boolean enabled, boolean accountNonExpired,
                  boolean credentialsNonExpired, boolean accountNonLocked,
                  Collection<? extends GrantedAuthority> authorities) {
        super(username, password, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities);
    }*/
}